From 1b846e29c7b7ae626426a0ee4295cb1d001531ee Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Tue, 28 Jul 2020 16:00:02 +0200 Subject: [PATCH] docs: Correct migration note A mentioned API call is now internal. --- docs/reference/gtk/migrating-3to4.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index a55c7b033a..0d3bf4ab21 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -309,10 +309,9 @@ use the #GtkWindow:modal property of the dialog. ### Adapt to coordinate API changes A number of coordinate APIs in GTK 3 had _double variants: -gdk_device_get_position(), gdk_device_get_surface_at_position(), -gdk_surface_get_device_position(). These have been changed to use -doubles, and the _double variants have been removed. Update your -code accordingly. +gdk_device_get_surface_at_position(), gdk_surface_get_device_position(). +These have been changed to use doubles, and the _double variants +have been removed. Update your code accordingly. Any APIs that deal with global (or root) coordinates have been removed in GTK 4, since not all backends support them. You should -- 2.30.2